package com.example.abe.diandi.nohttp;

/**
 * Created by abe on 17/3/14.
 */

public class ApiUtil {

//    public static String IMAGE_UPLOAD = "http://192.168.1.104:8080/image/upload";
    public static final String SERVICE = "service";
    public static final String METHOD = "method";

    /** 地址 **/
//    public static String URL = "http://192.168.31.43:8080/diandi/api";
    public static String URL = "http://47.52.94.123:8080/diandi/diandi/api";

    /** 用户模块 **/
    public static final String S_USER = "user";
    public static final String M_USER_LOGIN = "login";
    public static final String M_USER_REGISTER = "register";
    public static final String M_USER_CHANGE_PASSWORD = "change_password";
    public static final String M_USER_GET_CATEGORY_LIST = "get_category_list";

    /** 图片模块 **/
    public static final String S_IMAGE = "image";
    public static final String M_IMAGE_UPLOAD = "upload";

    /** 动态模块 **/
    public static final String S_TREND = "trend";
    public static final String M_TREND_ADD_IMAGE_TEXT_ITEM = "add_image_text_item";
    public static final String M_TREND_GET_IMAGE_TEXT_ITEM = "get_image_text_item";
    public static final String M_TREND_ADD_TRENDS = "add_trend";
    public static final String M_TREND_GET_TRENDS = "get_trend";
    public static final String M_TREND_GET_TRENDS_LIST_BY_CATEGORY = "get_trend_list_by_category";
    public static final String M_TREND_COLLECT_TREND = "collect_trend";
    public static final String M_TREND_DELETE_TREND = "delete_trend";
    public static final String M_TREND_SEARCH_TREND = "search_trend";
    public static final String M_TREND_GET_COLLECT_TRENDS_LIST = "get_collect_trend_list";
}
